package program02;

/**
 * @version 1.0
 * @since:
 * @ClassName:PlayChessTest
 * @author: Li Jiahui
 * @date: 2021-01-02 21:45
 */
public class PlayChessTest {
    public static void main(String[] args) {
        //1.初始化棋盘
        DrawChessBoard drawChessBoard = new DrawChessBoard();
        drawChessBoard.show();
        //2.玩家开始下棋
        TipsAndRedraw tipsAndRedraw = new TipsAndRedraw();
        tipsAndRedraw.play();
        //3.把下过的棋重新显示一下
 /*       drawChessBoard.reshow();*/
        ChessAction chessAction = new ChessAction();
        chessAction.redrawChessBoard();
        //4.判断胜负
        Victory victory = new Victory();
        victory.win();
    }
}
